﻿@{
    Layout = null;

}
<script type="text/javascript">
    $(document).ready(function () {
        $("#Permission_DetailsCreate_Create").submit(function () {
            return false;
        });
    });
   
</script>
<script src="@Url.Content("/Scripts/jQuery/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("/Scripts/jQuery/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="pageContentD">
    @{Html.EnableClientValidation();}
    @using (Html.BeginForm("DetailsCreating", "Items", null, FormMethod.Post, new { onsubmit = "return validateCallback(this,DetailsdialogCreating);", @id = "Permission_DetailsCreate_Create", @class = "pageForm" }))
    {        
        @Html.Partial("_DetailsContent")
        <div class="formBar">
            <ul>
                <li>
                    <button type="submit" class="btn btn-success btn-sm">
                        保存</button>
                </li>
                <li>
                    <button type="button" class="close btn btn-default btn-sm">
                        取消</button>
                </li>
            </ul>
        </div>
    }
</div>
